From Cppreference
Template:cpp/memory/c/sidebar
| Defined in header <cstdlib>
|
|
|
|
| void free( void* ptr );
|
|
|
|
|
|
Deallocates the space previously allocated by malloc(), calloc() or realloc().
Parameters
| ptr
| -
| pointer to the memory to deallocate
|
Return value
(none)